import { createRouter, createWebHistory } from 'vue-router'
import PageRouter from './page'
import ViewRouter from './views'

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes: [...PageRouter, ...ViewRouter]
})

export default router
